/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/*html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol,*/
ul, li
/*fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video*/ {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: middle;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Default Styles 
--------------------------------------------------------------------*/

body {
    /*background: url('img/denim.png');*/
    font-family: 'Droid Sans', sans-serif;
}

.clearfix {
    clear: both;
}

.wrap {
    width: auto;
    height: 40px;
    margin: 0em auto;
}

nav {
    /*background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#ccc));*/
    background: rgb(74, 91, 121) none repeat scroll 0% 0%;
    background-image: linear-gradient(#fff, #ccc);
    border-radius: 6px;
    box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.4);
    padding: 5px 5px;
    position: relative;
    margin: 6px 15px;
    height: 40px;
}

.menu li {
    float: left;
    position: relative;
}

    .menu li a {
        /*color: #444;*/
        color: #fff;
        font-weight: 500;
        display: block;
        font-size: 14px;
        line-height: 20px;
        padding: 5px 10px;
        margin: 2px 2px;
        vertical-align: middle;
        text-decoration: none;
    }

.menu .popuplist li {
    color: #fff;
    font-weight: 500;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    padding: 5px 15px;
    vertical-align: middle;
    text-decoration: none;
    white-space: nowrap;
    width: 100px;
}

/*.menu li a:hover {
	background: -webkit-gradient(linear, center top, center bottom, from(#ededed), to(#fff));
	background-image: linear-gradient(#ededed, #fff);
	border-radius: 12px;
	box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
	color: #222;
}*/

/* Dropdown styles */

.menu ul {
    position: absolute;
    left: -9999px;
    list-style: none;
    opacity: 0.5;
    transition: opacity 1s ease;
}

    .menu ul li {
        float: none;
    }

    .menu ul a {
        white-space: nowrap;
    }

/* Displays the dropdown on hover and moves back into position */
.menu li:hover ul {
    background: rgba(185, 138, 138, 0.8);
    border-radius: 0 0 6px 6px;
    box-shadow: inset 0px 2px 4px rgba(18, 17, 17, 0.4);
    left: 2px;
    top:39px;
    opacity: 1;
    color: #d7cdcd !important;
    z-index: 999;
}

/* Persistant Hover State */
.menu li:hover a {
    background: -webkit-gradient(linear, center top, center bottom, from(#ccc), to(#ededed));
    background-image: linear-gradient(RGBA(99, 107, 48, 0.76), RGBA(82, 75, 46, 0.7));
    border-radius: 8px;
    box-shadow: inset 0px 0px 1px 1px #524B2E;
    color: #FFF;
}

.menu li:hover ul a {
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.menu li:hover ul li:hover {
    background-image: linear-gradient(RGBA(99, 107, 48, 0.76), RGBA(82, 75, 46, 0.7));
    box-shadow: inset 0px 0px 1px 1px #524B2E;
}
